package day0220;

public class Demo02 {


    public static void main(String[] args) {
        // 编译时多态
        say("你好");
        say("你好", "海绵宝宝");
    }

    public static void say(String msg) {}

    public static void say(String msg, String to) {}

    static void run(Animal animal) {
        animal.say();
    }
}
